<template>
	<view class="waterfall-view-container" :style="">
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name: "waterfallView",
		props: {
			padding: {
				default: '30rpx',
				type: String
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.waterfall-view-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;

	/deep/	.item {
		width: 48%;
		margin: 20rpx 0;
			-webkit-column-break-inside: avoid;
		}
	}
</style>
